
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Place;
import com.cmc.dao.PlaceDao;

public interface PlaceManager extends Manager {
    /**
     * Retrieves all of the places
     */
    public List getPlaces(Place place);

    /**
     * Gets place's information based on id.
     * @param id the place's id
     * @return place populated place object
     */
    public Place getPlace(final String id);

    /**
     * Saves a place's information
     * @param place the object to be saved
     */
    public void savePlace(Place place);

    /**
     * Removes a place from the database by id
     * @param id the place's id
     */
    public void removePlace(final String id);
}

